package com.telrob.antlr.type;

public class SymbolType {
	//类型 1,全局变量，2:局部变量，3:函数参数,4字符串
	private Integer type;
	private String name;
	private Integer index;
	
	
	public SymbolType(Integer type, String name) {
		super();
		this.type = type;
		this.name = name;
	}
	public SymbolType(Integer type, String name, Integer index) {
		this.type = type;
		this.name = name;
		this.index = index;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getIndex() {
		return index;
	}
	public void setIndex(Integer index) {
		this.index = index;
	}
}
